home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 13386 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.0 KB

  1. Path: EU.net!sun4nl!xs4all!usenet
  2. From: jtv@xs4all.nl (Jeroen T. Vermeulen)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: HELP!!! I have lots of questions!!!
  5. Date: Fri, 19 Apr 96 18:46:05
  6. Organization: Leiden University, Mathematics & Computer Science, The Netherlands
  7. Message-ID: <19960419.7B43258.10910@asd09-22.dial.xs4all.nl>
  8. References: <1996Apr16.201022.8024@opalo.etsiig.uniovi.es>
  9. NNTP-Posting-Host: asd09-22.dial.xs4all.nl
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-NewsSoftware: GRn 2.1 Feb 19, 1994
  14.  
  15.  
  16. In article <1996Apr16.201022.8024@opalo.etsiig.uniovi.es> u0866762@soneto.etsiig.uniovi.es (Isaac Ramos) writes:
  17.  
  18. > ..-To copy recursively all the selected files to another
  19. > directory: " copy #?.info to dh3:t/ " I've read there is an
  20. > argument ALL to do this, but it doesn't work or I don't know how
  21. > to use it :-)
  22.  
  23. The program will look *first* for names that match the wildcard pattern, and
  24. *then* see which are files and which are directories.  Even if you use #?, Copy
  25. will still skip the directories.  This can be changed by adding the ALL option;
  26. it will cause directories to be copied recursively, ie. with their complete
  27. contents.
  28.  
  29.  
  30. > ..-the same to compress with XPK all #?.doc recursively, without
  31. > compressing the #?.c for example. I could compress ALL the files
  32. > recursively, but I want to compress some and not ALL.
  33.  
  34. You can't do this that easily.  But if the directories don't have
  35. subdirectories, there's always the option to compress "#?.c" and "#?/#?.c".  Or
  36. if there are subdirectories in the directories but they don't have
  37. subsubdirectories, compress "#?.c", "#?/#?.c" and "#?/#?/#?.c" et cetera.
  38.  
  39. A more general trick is to tell List to find the files for you, and use its
  40. output to direct the real command.  So let's say you're using a program called
  41. Pack:
  42.  
  43.   Pack `List dh0: PAT=#?.c LFORMAT="%p%n" ALL`
  44.  
  45. Here List will find *all* the files on dh0: matching the pattern #?.c (PAT
  46. argument), in all dirs and subdirs etc. (ALL argument) and print them in the
  47. format "path/filename" (LFORMAT argument) so you get the names with complete
  48. paths, like you want them.  To Pack it will appear as if you typed the names of
  49. all the .c files separately on the command line.
  50.  
  51.  
  52. > ..-Sometime ago, I heard of a program you can configure to tell
  53. > each program to compress with XPK automatically. A friend told me
  54. > that with that program, you could tell (for example CED) to save
  55. > direct into XPK. Do you know the program?
  56.  
  57. There are several XPK filesystems; these let you define a partition or directory
  58. on your harddisk in which all files are automatically compressed and
  59. decompressed.  Try XFH; I think there's an another called EPS.
  60.  
  61.  
  62. > Isaac Ramos
  63.  
  64. --
  65. ============================================================================
  66. #  Jeroen T. Vermeulen   \"How are we doing kid?"/   Yes, we use Amigas.   #
  67. #---  jtv@xs4all.nl    ---\"Oh, same as always."/--         ...          --#
  68. #jvermeul@wi.leidenuniv.nl \ "That bad, huh?"  /  Got a problem with that? #
  69. This sig is in beta test.  Please report any bugs or suggested improvements.
  70.